#include <bits/stdc++.h>
using namespace std;

int main() {
    double a, b, c, p;
    cin >> a >> b >> c;
    if (max({a, b, c}) >= a + b + c - max({a, b, c})) {
        printf("%.2f %.2f %.2f", a, b, c);
        return 0;
    }
    p = (a + b + c) / 2.00;
    printf("%.2f", sqrt(p * (p - a) * (p - b) * (p - c)));
    return 0;
}